
local WorkStation = require'entities.workstation'

FoodStation = {}
FoodStation.mt = { __index = FoodStation }
setmetatable(FoodStation, WorkStation.mt)

function FoodStation.initialize(x, y, ship)


	local FOODSTATION_t = WorkStation.new('food_station', x, y, 100, 'food_station',ship)
	setmetatable(FOODSTATION_t, FoodStation.mt)

	FOODSTATION_t.x = x
	FOODSTATION_t.y = y
	


	return FOODSTATION_t

end

function FoodStation:make_map()
	
	self.map = {}
	self.map[WIRE_TYPE] = self.ship.network_map[WIRE_TYPE]
	self.map[SUPPLY_PIPE_TYPE] = self.ship.network_map[SUPPLY_PIPE_TYPE]
	self.map[WATER_PIPE_TYPE] = self.ship.network_map[WATER_PIPE_TYPE]
	

end


function FoodStation.new(x, y, ship)

	local o = FoodStation.initialize(x, y, ship)

	return o

end



return FoodStation